﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using Freedback.Core.Entities;


namespace FreedBack.Core.Entities
{
    public class RatingValue : IEntity
    {
        [Key]
        public int Id { get; set; }

        [Required]
        [MaxLength(20)]
        public string Name { get; set; }

        [Required]
        [Range(1,5)]
        public int? Value { get; set; }
    }
}